//router
import { createRouter, createWebHashHistory, createWebHistory } from 'vue-router'

const routes = [
  {
    path: '/',
    redirect: '/operate-brain'
  },
  {
    path: '/operate-brain',
    name: 'operate-brain',
    component: () => import('../pages/OperateTheBrain/index.vue')
  },
  {
    path: '/digital-economy',
    name: 'digital-economy',
    component: () => import('../pages/DigitalEconomy/index.vue')
  }, {
    path: '/public-safety',
    name: 'public-safety',
    component: () => import('../pages/PublicSafety/index.vue')

  }

]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router